DigitalRiver\ApiSdk\Model\Charge B

Total Complexity 78
Dependencies 6
Dependents 3
Total lines 825
Lines of code 241
Logical lines of code 103
Comment lines 337
Methods 51
Properties 7

Methods 51

Method Rating Maintainability Complexity Lines of code
__construct()
B
53 18 19
listInvalidProperties()
S
56 5 18
setType()
S
60 3 13
setState()
S
60 3 13
offsetSet()
S
69 2 7
offsetGet()
S
78 2 3
getStateAllowableValues()
S
63 1 12
openAPITypes()
S
80 1 3
getRefunds()
S
80 1 3
setPaymentSessionId()
S
76 1 4
getCancels()
S
80 1 3
setCancels()
S
76 1 4
getCaptures()
S
80 1 3
setCaptures()
S
76 1 4
getCaptured()
S
80 1 3
setCaptured()
S
76 1 4
getType()
S
80 1 3
setRefunds()
S
76 1 4
getRefunded()
S
80 1 3
setRefunded()
S
76 1 4
setFailureMessage()
S
76 1 4
getLiveMode()
S
80 1 3
setLiveMode()
S
76 1 4
offsetExists()
S
79 1 3
offsetUnset()
S
80 1 3
__toString()
S
72 1 6
getPaymentSessionId()
S
80 1 3
getFailureCode()
S
80 1 3
getFailureMessage()
S
80 1 3
setCreatedTime()
S
76 1 4
attributeMap()
S
80 1 3
setters()
S
80 1 3
getters()
S
80 1 3
getModelName()
S
81 1 3
getTypeAllowableValues()
S
66 1 9
valid()
S
79 1 3
getId()
S
80 1 3
setId()
S
76 1 4
getCreatedTime()
S
80 1 3
getCurrency()
S
80 1 3
setFailureCode()
S
76 1 4
setCurrency()
S
76 1 4
getAmount()
S
80 1 3
setAmount()
S
76 1 4
getState()
S
80 1 3
getOrderId()
S
80 1 3
setOrderId()
S
76 1 4
getSourceId()
S
80 1 3
setSourceId()
S
76 1 4
openAPIFormats()
S
80 1 3
toHeaderValue()
S
80 1 3